package com.moqianfan.mcuassistant.net;

import com.moqianfan.mcuassistant.bean.NewsBean;
import com.moqianfan.mcuassistant.comm.Common;

import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by Administrator on 2017/6/16.
 * 网络请求接口
 */

public interface ServiceApi {
    @GET("?key=" + Common.NEWS_API_KEY)
    Observable<NewsBean> getWxNews(@QueryMap Map<String, Object> params);
}
